home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revista do CD-ROM 118
/
cd-rom 118.iso
/
aplic
/
open
/
openofficeorg4.cab
/
test_tokenize.py
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Python Source
|
2005-02-15
|
242 b
|
13 lines
from test.test_support import verbose, findfile
import tokenize, os, sys
if verbose:
print 'starting...'
f = file(findfile('tokenize_tests' + os.extsep + 'txt'))
tokenize.tokenize(f.readline)
f.close()
if verbose:
print 'finished'